package com.dsj.gxrd.modules.activity.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.dsj.gxrd.common.MyBaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.time.LocalDate;

/**
 * @author songpin566
 * @date 2023/10/10
 **/
@Data
@ApiModel("台账")
@TableName("rd_people_ledger")
public class RdPeopleLedger extends MyBaseEntity<String> {

    @TableId(type = IdType.ASSIGN_ID)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private String nowDuty;
    private String userId;
    private String problem;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate handleDate;
    private String remark;
    @TableLogic
    private Integer delFlag;
    private String peopleName;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate planDate;
    private String difficultyNumbers;
    private String opinionNumbers;
    private Integer type;
    @TableField(exist = false)
    private String userNames;


}
